#【魔裂千世】封锁
scoreboard players add @a[tag=!BOSSmieshang,distance=..5.5] EFLocks 100
execute unless entity @a[tag=!BOSSmieshang,distance=..5.5] run kill @s


#【恶魔之触】对未携带的目标
scoreboard players add @a[tag=!BOSSmieshang,scores={BOSSmieshang5=0},distance=..5.5] EFDisarm 60
effect clear @a[tag=!BOSSmieshang,scores={BOSSmieshang5=0},distance=..5.5] absorption
#【魔影回溯】对未携带的目标
execute if entity @a[tag=!BOSSmieshang,scores={BOSSmieshang5=0},distance=..5.5] run effect give @s instant_health 1 0 true


#【恶魔之触】对携带的目标
effect give @a[scores={BOSSmieshang5=1..},distance=..5.5,limit=3] instant_damage 1 0 true
effect give @a[scores={BOSSmieshang5=1..},distance=..5.5,limit=3] regeneration 1 3 true
#【魔影回溯】对携带的目标
execute if entity @a[scores={BOSSmieshang5=1..},distance=..5.5] run effect give @a[tag=BOSSmieshang] regeneration 6 0 true
scoreboard players set @a[scores={BOSSmieshang5=1..},distance=..5.5] BOSSmieshang5 0
